package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.player.UserCreditPoints;
import com.yanqu.road.logic.bussiness.DaoHelper;

public class UserCreditPointsBussiness {

    public static UserCreditPoints getCreditPoints(long userId) {
        return DaoHelper.getCreditPointsDaoImpl().getCreditPoints(userId);
    }

    public static boolean addCreditPoints(UserCreditPoints userCreditPoints) {
        return DaoHelper.getCreditPointsDaoImpl().add(userCreditPoints);
    }

    public static boolean updateCreditPoints(UserCreditPoints userCreditPoints) {
        return DaoHelper.getCreditPointsDaoImpl().update(userCreditPoints);
    }


}
